<?php
/**
 * Created by PhpStorm.
 * User: miidi
 * Date: 2018/7/2
 * Time: 14:56
 */

namespace app\api\model;


use think\Model;
use think\model\concern\SoftDelete;

class BaseModel extends Model
{
    protected $autoWriteTimestamp = 'datetime';
//  use SoftDelete;
//  protected $hidden = [];
//
    /**
     * @ 暂时不区分是本地还是公网
     */
//  protected function prefixImgUrl($value, $data)
//  {
//    $finalUrl = $value;
//    if ($data['from'] == 1) {
//      $finalUrl = config("mysetting.img_prefix") . $value;
//    }
//    return $finalUrl;
//  }

}